package com.gitee.cui.springcloud.config;

import org.springframework.cloud.client.loadbalancer.LoadBalanced;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.client.RestTemplate;

/**
 * 配置类
 *
 * @author cuiqingqiang
 * @version 1.0
 * @date 2022-03-04 21:30
 **/
@Configuration
public class ApplicationContextConfig {

	@Bean
	// @LoadBalanced
	public RestTemplate restTemplate() {
		return new RestTemplate();
	}
}
